lcColorGetPalette Home

Returns palette RGB color for specified index.

 BOOL lcColorGetPalette (
   int Index,
   int* pRed,
   int* pGreen,
   int* pBlue
 );

Parameters
Index
  Color index.
The value can be from 1 to 255, except 7.
pRed pGreen pBlue
  Pointers to variables that will receive Red, Green, Blue values of the color.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  ColorslcColorSetPalette